//
//  BaseObject.h
//  GLSprite
//
//  Created by Daniel Polak on 7/19/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <OpenGLES/EAGL.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>

@class BoundingVolume;

@interface BaseObject : NSObject {
	BoundingVolume* m_pBoundingVolume;
	CGPoint m_Position;
	
	//Texture Information
	GLuint m_uiTextureID;
	size_t m_Width;
	size_t m_Height;
}

@property (nonatomic, retain) BoundingVolume* pBoundingVolume;
@property GLuint uiTextureID;
@property size_t width;
@property size_t height;
@property CGPoint position;

- (void)SetTextureID:(GLuint)texID;

- (void)Update;
- (void)Render;
- (void)Cleanup;

@end
